Unnecessary Return Statement Parentheses (URSP)

Description:

Values returned by return statements should not be parenthesized unless it makes the code more readable.

Incorrect:

return (myDisk.size());

Correct:

return myDisk.size();

return (sizeOk ? size : defaultSize); // parenthesis improves readability